/**
  * Copyright 2019 bejson.com 
  */
package com.xingkeduo.dto.transter.commentfinish;

import com.xingkeduo.dto.transter.shop.ShopsDTO;
import lombok.Data;

@Data
public class ContentCommentFinsh {

    private int id;
    private String title;
    private String store;
    private int coupon_date;
    private String coupon_time;
    private String reduce;
    private boolean has_coupon;
    private String questionnaire_id;

    public void covert(ShopsDTO queryShopsDTO) {
        this.id=0;
        this.title="";
        this.store=queryShopsDTO.getName();
        this.coupon_date=45; //暂定后期更改
        this.coupon_time="";//优惠券领取时间  暂定后期更改
        this.reduce="";//优惠价格  暂定 后期更改
        this.has_coupon=false;//是否有优惠券，暂定，后期更改
        this.questionnaire_id="";//关联问券调查id 暂定  后期优化
    }
}